package com.ruoyi.market.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 优惠券对象 ver_coupon
 *
 * @author ruoyi
 * @date 2025-09-02
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class VerUserCouponOrderRelate {
    private static final long serialVersionUID = 1L;

    /**
     * ID（主键）
     */
    private Long id;

    private Long orderId;
    private Long userId;
    private Long couponId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date expirationTime;
    private Integer status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date useTime;
}
